﻿using Microsoft.SharePoint;

namespace SharePoint.Orm {
	/// <summary>
	/// Used to mark a ORM type as being aware of it's data source. It's discouraged to use this interface
	/// because it limits the ability to unit test the object.
	/// </summary>
	public interface ISPListItemAware {
		/// <summary>
		/// The <see cref="SPListItem"/> backing the ORM object.
		/// </summary>
		SPListItem ListItem { get; }
	}
}